<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html">
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="edu.uclm.esi.tysw.podtube.domain.Usuario" %>

<%
	Usuario user=(Usuario) session.getAttribute("user");
%>

<table border="1">
	<tr>
		<th width="50%" align="left">
			<jsp:include page="logo.jsp"/>
		</th>
		<th>
			<s:form action="BuscarVideo">
				<input type="text" name="video" size="50">
				<input type="submit" value="Buscar">
			</s:form>
		</th>
		<th align="right">
			Conectado como <a href="GestionarCuenta"><%= user.getEmail() %></a>
			<s:form action="Desconectar">
				<input type="submit" value="Desconectar">
			</s:form>
		</th>
	</tr>
</table>
